<?php
function msleep($time)
{
	static $kernel32;
	$time = (int)$time;
	if(!$kernel32)$kernel32 = w32_load_lib('kernel32.dll');
	$msleep = w32_get_func_addr($kernel32,'Sleep');
	w32_call_func($msleep,array($time));
}
$start = microtime(true);
msleep(100);
echo sprintf('%.f',microtime(true) - $start);
if(php_sapi_name()=='cli')system("pause");
?>